import { GET, POST } from '@/utils'

enum API {
    EXPORT_OUT_API = '/downloadOut',
    EXPORT_PUT_API = '/downloadPut',
    GET_OUT_API = '/queryOut',
    GET_PUT_API = '/queryPut',
    GET_OUT_INFO_API = '/queryPutHistory2',
    EXPORT_OUT_INFO_API = '/downloadPutHistory'
}


export const exportOutApi = (data: any) => POST(API.EXPORT_OUT_API, data, false)
export const exportPutApi = (data: any) => POST(API.EXPORT_PUT_API, data, false)
export const getOutApi = (data: any) => POST(API.GET_OUT_API, data, false)
export const getPutApi = (data: any) => POST(API.GET_PUT_API, data, false)
export const getOutInfoApi = (data: any) => POST(API.GET_OUT_INFO_API, data, false)

export const exportOutInfoApi = (data: any) => POST(API.EXPORT_OUT_INFO_API, data, false)